/*写着写着就想你了*/
.breadcrumb-item {
    height: 2.5rem;
    line-height: 2.5rem;
}
.article-info {
    margin-top: -1rem;
    background-color: var(--background);
    padding: 0 2rem;
}
.no-cover .article-detail {
    color: var(--text2);
    bottom: 0;
    position: relative!important;
    margin-top: 2rem;
}
.no-cover .article-title a {
    color: var(--text2);
}
.no-cover .article-title span, .no-cover .post-info{
    text-shadow: none;
}
.article-cover-inner {
    height: 25rem;
    overflow: hidden;
    position: relative;
    border-radius: 1.5rem;
}
.article-cover-inner img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    display: block;
}
.article-title span {
    font-weight: 700;
    word-break: break-all;
    text-shadow: var(--text-shadow);
    font-size: 3rem;
    text-align: left;
}
.article-title a {
    color: #fff;
}
.article-title a:hover {
    color: var(--theme-color);
}
.article-detail {
    margin: 2rem 0 -2rem;
}
.post-info {
    display: flex;
    align-items: center;
    font-size: 1.3rem;
}
.post-info-icon {
    margin-right: 1rem;
    border-radius: 2rem;
    padding: .5rem;
    display: flex;
    align-items: center;
}
.post-info-icon:nth-child(1) {
    background-color: var(--color1-bg);
    color: var(--color1);
}
.post-info-icon:nth-child(2) {
    background-color: var(--color4-bg);
    color: var(--color4);
}
.post-info-icon:nth-child(3) {
    background-color: var(--color3-bg);
    color: var(--background);
}
.article-info.no-cover .article-title {
    position: relative;
    padding: 0;
}
.article-info.no-cover .article-title::after {
    content: '';
    background: none;
}
.article-title {
    position: absolute;
    bottom: 0;
    color: #fff;
    font-size: 2.5rem;
    width: 100%;
    box-sizing: border-box;
    text-transform: none;
    margin: 0;
    padding: 2.4rem;
    z-index: 1;
    text-shadow: 0 .1rem .3rem rgba(0,0,0,0.251);
}
.article-title::after {
    content: '';
    background-image: linear-gradient(to top, rgba(16,16,16,0.35) 25%, rgba(16,16,16,0) 100%);
    pointer-events: none;
    background-size: cover;
    display: block;
    height: 100%;
    left: 0;
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: -1;
}
.article-main {
    background: var(--background);
    box-shadow: 0.5rem 1.875rem 2.375rem rgb(39 44 49 / 6%), 0.0625rem 0.1875rem 0.5rem rgb(39 44 49 / 3%);
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}
.license {
    padding: 1.25rem;
    margin-top: 1.25rem;
}
.license .content {
    background: #f2f6fc;
    padding: 0.9375rem;
    border-radius: var(--radius);
}
.license .content .item {
    font-size: 1.25rem;
    color: #909399;
    line-height: 1.625rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.license .item-link {
    color: #909399;
}
.license .item-link:hover {
    text-decoration: underline !important;
}
.license .content span {
    user-select: none;
}
.article-action {
    display: flex;
    justify-content: space-around;
    margin-top: .5rem
}
.article-action-item {
    display: inline-flex;
    align-items: center;
    color: #999;
    cursor: pointer;
}
.article-action-item .icon {
    transition: .3s ease-out;
    width: 3.5rem;
    height: 3.5rem;
}
.article-action-item .icon:hover {
    transform: scale(1.05) rotate(1deg);
}
span.agree-num {
    font-size: 2rem;
    margin-left: .5rem;
}
.article-category a {
    color: #9b9b9b;
}
.article-category a:hover {
    color: rgb(29, 161, 242);
}
.tags {
    margin: 2rem;
}
.tags a {
    border: 0.1rem solid #999;
    border-radius: 6.25rem;
    box-sizing: border-box;
    transition: .5s;
    color: #999;
    font-size: 1.2rem;
    padding: .3rem .4rem;
    margin-right: .5rem;
}
.tags a:hover {
    border: 0.1rem solid #00a1d6;
    color: #00a1d6;
}
.article-page {
    display: flex;
    justify-content: space-between;
    color: var(--theme-text-color);
    padding: 2rem;
}
.article-page-item.next {
    text-align: right;
}
.article-page .button .title {
    font-size: 1.5rem;
    color: var(--theme-text-color);
    padding: 0.5rem 0;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    word-break: break-all;
    width: 15rem;
    line-height: 1rem;
}
.article-page .button .title:hover {
    color: var(--theme-color);
}
.article-page .button.off .label {
    color: var(--theme-text-color);
}
/** b站视频 */
.video {
    position: relative;
    width: 100%;
}
@media only screen and (max-width: 47.9375rem) {
    .video {
        height: 15em;
    }
}
@media only screen and (min-width: 48rem) and (max-width: 61.9375rem) {
    .video {
        height: 20em;
    }
}
@media only screen and (min-width: 62rem) and (max-width: 74.9375rem) {
    .video {
        height: 30em;
    }
}
@media only screen and (min-width: 75rem) {
    .video {
        height: 32em;
    }
}
/** 友链样式 */
.links-box {
    overflow: auto;
    padding: 1rem 1rem 0;
    text-align: center;
    position: relative;
}
@media (max-width: 800px){
    .links-item {
        width: 100%!important;
    }
}
.links-item {
    position: relative;
    float: left;
    overflow: hidden;
    margin: 1.5rem .7rem;
    width: calc(100% / 3 - 1.5rem);
    height: 9rem;
    line-height: 1.7rem;
    transform: translateZ(0);
}
.links-item::before{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    background: rgba(73,177,245,0.7);
    content: '';
    transition: transform 0.3s ease-out;
    transform: scale(0);
    border-radius: 1.5rem;
}
.links-link {
    color: var(--text1)!important;
}
.links-item:hover::before{
    transform: scale(1);
}
.links-img {
    float: left;
    overflow: hidden;
    margin: 1.5rem 1rem;
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    transition: width 0.3s ease-out;
}
.links-img img {
    width: 100%;
    height: 100%;
    transition: filter 375ms ease-in 0.2s, transform 0.3s;
    object-fit: cover;
}
.links-title {
    padding: 1.6rem 1rem 0 0;
    height: 4rem;
    font-weight: bold;
    font-size: 1.43em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.links-desc {
    padding: 1.6rem 1rem 1.6rem 0;
    height: 5rem;
    font-size: 0.93em;
}
/*目录*/
.article-catalog {
    max-height: 30rem;
    background-color: #fff;
    box-sizing: border-box;
    overflow-y: scroll;
}
.article-catalog-title {
    height: 1.5rem;
    line-height: 1.5rem;
    padding: 0 1.5625rem 0 1.25rem;
    font-size: 1.5rem;
    color: #222;
}
.article-catalog-list li{
    display: block;
    line-height: 1.5rem;
    margin-bottom: 1.25rem;
    word-break: break-all;
    position: relative;
    padding-left: 1rem;
}
.article-catalog-list li a {
    font-size: 1.35rem;
    color: #222;
    line-height: 1.5rem;
    display: inline-block;
    transition: .3s;
}
.article-catalog-list li a:before {
    content: '';
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 0.5rem;
    background: silver;
    display: inline-block;
    position: absolute;
    left: 0.1rem;
    top: 0.5rem;
}
.article-list-title {
    font-size: 1.25rem;
    color: #6d757a;
    margin-bottom: 1.5rem;
    padding: 0 1.5rem;
}
.article-catalog-list li .article-catalog-list {
    padding: 0 0.3125rem 0 0.3125rem;
}
/** 分页**/
.joe_comment .joe_pagination {
    padding-top: 0;
}

.joe_pagination {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-top: 15px;
}
.joe_comment .joe_pagination {
    padding-top: 0;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-top: 1.5rem;
}
.pagination li {
    margin-left: .5rem;
}
.pagination li.active a {
    background: var(--theme-color);
    color: #fff;
    font-weight: 500;
}
.pagination li a {
    display: flex;
    align-items: center;
    height: 2rem;
    color: var(--theme-text-color);
    padding: 0 1rem;
    background: var(--background);
    border-radius: .5rem;
    transition: background 0.35s, color 0.35s;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
/** 标签内容的美化 */
.article-content {
    padding: 2rem;
}
.markdown-body table {
    color: var(--routine);
    text-align: center;
    box-shadow: var(--box-shadow);
    max-width: 100%;
    overflow: auto;
    display: inline-block;
}
.markdown-body table thead {
    background-color: #f8f8f8;
}
.markdown-body table thead tr {
    background-color: #f8f8f8;
}
.markdown-body table tr:nth-child(2n) {
    background-color: #f8f8f8;
}
.markdown-body table th {
    border-right: 0.0625rem solid #eee;
    padding: 0.8125rem 1.625rem;
    font-weight: 400;
}
.markdown-body table td {
    border-right: 0.0625rem solid #eee;
    padding: 0.8125rem 1.625rem;
}
.markdown-body {
    font-size: 1.6rem;
    line-height: 1.5;
    word-wrap: break-word;
}
.markdown-body blockquote, .markdown-body dl, .markdown-body ol, .markdown-body p, .markdown-body pre, .markdown-body table, .markdown-body ul {
    margin-bottom: 1.6rem;
    margin-top: 0;
}
.markdown-body h1, .markdown-body h2, .markdown-body h3, .markdown-body h4, .markdown-body h5, .markdown-body h6 {
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 1.6rem;
    margin-top: 2rem;
    color: var(--theme-text-color);
}
.markdown-body h1 {
    border-bottom: .1rem solid var(--border);
    padding-bottom: 0.3rem;
    font-size: 4rem;
}
.markdown-body h2 {
    font-size: 1.9rem;
    border-left: .6rem solid var(--theme-color);
    padding-left: 1rem;
}
.markdown-body h3 {
    position: relative;
    font-size: 1.8rem;
    padding-left: 1.5rem;
}
.markdown-body h3:before {
    content: '';
    position: absolute;
    top: 0.6rem;
    left: -.1rem;
    height: 1rem;
    width: 1rem;
    border-radius: 50%;
    background-color: var(--theme-color);
}
.markdown-body h4:before, .markdown-body h5:before {
    display: inline-block;
    margin-right: 0.5rem;
    content: '#';
    color: #00b5e5;
}
.markdown-body h4 {
    font-size: 1.7rem;
}
.markdown-body h5, .markdown-body h6 {
    font-size: 1.5rem;
}
.markdown-body a {
    color: var(--theme-color);
    text-decoration: none;
}
.markdown-body a.btn {
    color: #fff;
}
.markdown-body code {
    background-color: rgba(27, 31, 35, 0.05);
    border-radius: .3rem;
    font-size: 85%;
    margin: 0;
    padding: 0.2rem 0.4rem;
}
.markdown-body code, .markdown-body pre {
    font-family: SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;
}
.markdown-body code {
    color: #e96900;
}
.markdown-body img {
    max-width: 100%;
}
.markdown-body .card-img {
    width: auto;
    height: 6.25rem;
}
.markdown-body .card-title a {
    color: #fff;
}
.markdown-body .card-title a:hover {
    color: #0f82d0;
}

.markdown-body blockquote {
    background: #f2f6fc;
    padding: 0.9375rem 1.25rem;
    border-left: 0.25rem solid #c0c4cc;
    margin: 1.25rem 0;
}
.markdown-body blockquote p {
    font-weight: 500;
    margin: 0;
}
.markdown-body p {
    color: var(--theme-text-color);
    line-height: 1.75;
    display: block;
    margin-block-start: 8px;
    margin-block-end: 8px;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}
.markdown-body ul, .markdown-body ol {
    line-height: 1.4;
}
.markdown-body img.emoji {
    width: 15%;
}
.markdown-body hr {
    border: none;
    display: block;
}
.markdown-body hr:before {
    color: var(--theme-text-color);
    font-weight: 800;
    font-size: 2rem;
    display: block;
    content: "* * *";
    text-align: center;
    letter-spacing: .3rem;
}

.markdown-body .tip {
    padding: .5em 1em;
    border: 0.125rem solid rgb(200, 200, 200);
    border-radius: 0.25rem;
    background: rgba(200, 200, 200, .05);
    position: relative;
    overflow: hidden
}
.markdown-body .tip .tip-icon {
    position: absolute;
    bottom: -1.8em;
    left: -1.5em;
    opacity: .2;
}
.markdown-body .tip .tip-icon svg {
    font-size: 4em
}
.markdown-body .tip.warning {
    border-color: #FFD700;
    background: rgba(255, 215, 0, 0.05)
}
.markdown-body .tip.warning .tip-icon {
    color: #FFD700
}
.markdown-body .tip.success {
    border-color: #2E8B57;
    background: rgba(46, 139, 87, 0.05)
}
.markdown-body .tip.success .tip-icon {
    color: #2E8B57
}
.markdown-body .tip.error {
    border-color: #DC143C;
    background: rgba(220, 20, 60, 0.05)
}
.markdown-body .tip.error .tip-icon {
    color: #DC143C
}
.markdown-body .tip-content {
    position: relative;
    bottom: .4em;
    letter-spacing: 0.125rem;
}
.article-photos {
    display: flex;
    flex-wrap: wrap;
    margin: 1.25rem 0;
}
.article-photos a {
    position: relative;
    display: flex;
    flex: 0 0 25%;
    max-width: 25%;
    padding-right: 1.25rem;
    padding-top: 1.25rem;
    transition: -webkit-transform 0.35s;
    transition: transform 0.35s;
    flex-shrink: 0;
    min-width: 0;
}
.article-photos a:hover {
    -webkit-transform: translate3d(0, -0.3125rem, 0);
    transform: translate3d(0, -0.3125rem, 0);
}
.article-photos a img {
    flex: 1 1 auto;
    object-fit: cover;
    max-width: 100%;
    border-radius: 0.25rem;
}
.article-tabs {
    width: 100%;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--box-shadow);
    border: 0.0625rem solid #e4e7ed;
    border-radius: 0.25rem;
    margin: 1.25rem 0;
}
.article-tabs .nav {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    width: 100%;
    height: 2.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    -ms-scroll-chaining: none;
    overscroll-behavior: none;
    -webkit-overflow-scrolling: touch;
    display: flex;
    background: #f5f7fa;
}
.article-tabs .nav span {
    padding: 0 1.25rem;
    line-height: 2.5rem;
    height: 2.5rem;
    color: #909399;
    cursor: pointer;
    white-space: nowrap;
}
.article-tabs .nav span.active {
    color: var(--theme-color);
    background-color: #fff;
    border-right-color: #dcdfe6;
    border-left-color: #dcdfe6;
}
.article-tabs .content div.active {
    display: block;
}
.article-tabs .content div {
    display: none;
    padding: 0.9375rem;
    -webkit-animation: showTabs 0.5s;
    animation: showTabs 0.5s;
    color: var(--theme-text-color);
}
.article-collapse .collapse-head {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--theme-text-color);
    cursor: pointer;
    background: #fafafa;
    padding: 0.625rem 1.25rem;
    height: 2.5rem;
    border-radius: 0.25rem;
}
.article-collapse .collapse-head svg {
    width: 0.625rem;
    height: 0.625rem;
    fill: #909399;
}
.article-collapse .collapse-body {
    display: none;
    padding: 1.25rem;
    color: var(--theme-text-color);
}
pre {
    position: relative;
    padding-top: 1.875rem;
    margin: 1.25rem 0;
}
pre:before {
    content: '';
    position: absolute;
    top: 0.5625rem;
    left: 0.625rem;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: #fc625d;
    box-shadow: 1.25rem 0 #fdbc40, 2.5rem 0 #35cd4b;
    z-index: 1;
}
pre::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1.875rem;
    background: #2b2b2b;
    border-radius: 0.25rem 0.25rem 0 0;
}
.hljs {
    max-width: 100%;
    max-height: 34.375rem;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    padding: 1.25rem !important;
    line-height: 1.5;
    border-radius: 0 0 0.25rem 0.25rem;
    font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
}
.hljs ol {
    color: unset;
    margin: unset;
    padding: unset;
    border-left: 0.0625rem solid #ccc;
}
.hljs ol li {
    margin-bottom: unset;
    line-height: unset;
    padding-left: 0.9375rem;
    list-style: decimal;
}
.reply2view {
    background: #f8f8f8;
    padding: 0.625rem 0.625rem 0.625rem 2.5rem;
    position: relative
}
/** 归档页面 */
.article-archives .item {
    user-select: none;
    position: relative;
    padding: 0 0 1.25rem 1.875rem;
}
.article-archives .item::before {
    content: '';
    position: absolute;
    top: 0.875rem;
    left: 0;
    width: 0.8125rem;
    height: 0.8125rem;
    background: #f2f6fc;
    border-radius: 50%;
    z-index: 2;
}
.article-archives .item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0.375rem;
    width: 0.0625rem;
    height: 100%;
    background: #f2f6fc;
    border-radius: 50%;
}
.article-archives .item span {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #606266;
    cursor: pointer;
    background: #f2f6fc;
    padding: 0.625rem;
    height: 2.5rem;
    border-radius: 0.25rem;
}
.article-archives .item span svg {
    width: .8em;
    height: .8em;
    fill: #909399;
}
.article-archives .item span::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -0.5rem;
    width: 0;
    height: 0;
    border-right: 0.5rem solid #f2f6fc;
    border-top: 0.5rem solid transparent;
    border-bottom: 0.5rem solid transparent;
}
.article-archives .item ul {
    display: none;
    padding-left: 1.25rem;
}
.article-archives .item ul li {
    margin-top: 1.25rem;
}
.article-archives .item ul li a {
    color: #606266;
}
.tags-item {
    list-style: none;
    display: inline-block;
    margin-bottom: .8em;
}
.tags-item a {
    background: #f2f6fc;
    border-radius: 1.125rem;
    padding: .3em .8em;
    border: none;
    color: #606266;
}
.article-main .other .modified {
    text-align: right;
}
.article-main .other {
    font-size: 1.5rem;
    padding: 2rem 2rem 0 2rem;
}
